/******************************************************************************* 
 * Copyright (C) 2012-2015 Microfountain Technology, Inc. All Rights Reserved. 
 * 
 * Unauthorized copying of this file, via any medium is strictly prohibited.   
 * Proprietary and confidential
 * 
 * Last Modified: 2015-10-20 14:20:53
 ******************************************************************************/
package cn.com.xy.sms.sdk.Iservice;


public interface OnlineUpdateCycleConfigInterface {

    /**
     * 类型-联网查询短信中心归属地周期
     */
    public static final int TYPE_CENTER_NUM_LOCATION_INFO_CHECK_CYCLE = 0;

    /**
     * 类型-联网公众号数据批量更新周期
     */
    public static final int TYPE_BATCH_PUBLIC_NUM_INFO_UPDATE_CYCLE = 1;

    /**
     * 类型-联网查询单个省份的指定公众号数据更新周期(公众号数据已存在时)
     */
    public static final int TYPE_EXIST_PUBLIC_NUM_INFO_UPDATE_CYCLE = 2;

    /**
     * 类型-联网查询单个省份的指定公众号数据更新周期(公众号数据不存在时)
     */
    public static final int TYPE_PUBLIC_NUM_INFO_UPDATE_CYCLE = 3;

    /**
     * 类型-无ICCID数据时联网重新查询ICCID信息周期
     */
    public static final int TYPE_REQUERY_ICCID_INFO_CYCLE = 4;

    /**
     * 类型-联网检查菜单nqsql更新周期
     */
    public static final int TYPE_FIND_MENU_LIST_CYCLE = 5;

    /**
     * 类型-当前使用的jar是否需要联网检查更新的周期
     */
    public static final int TYPE_JAR_UPDATE_CYCLE = 6;

    /**
     * 类型-初始化检查周期(调用InitUtil.checkInit()方法)
     */
    public static final int TYPE_CHECK_INIT_CYCLE = 7;

    /**
     * 类型-调用过的jar文件联网检查更新周期
     */
    public static final int TYPE_JAR_FILE_UPDATE_CYCLE = 8;

    /**
     * 类型-企业logo数据联网检查更新周期
     */
    public static final int TYPE_LOGO_RESOURSE_UPDATE_CYCLE = 9;

    /**
     * 类型-情景配置联网检查更新周期
     */
    public static final int TYPE_SCENE_CONFIG_UPDATE_CYCLE = 10;

    /**
     * 类型-情景规则配置（丰富气泡、弹窗的logo、背景色等资源配置）联网检查更新周期
     */
    public static final int TYPE_SCENE_RULE_UPDATE_CYCLE = 11;

    /**
     * 类型-首次情景打点数据上传周期
     */
    public static final int TYPE_FIRST_POST_ICCID_SCENE_COUNT_CYCLE = 12;

    /**
     * 类型-情景打点数据上传周期
     */
    public static final int TYPE_POST_ICCID_SCENE_COUNT_CYCLE = 13;

    /**
     * 类型-丰富气泡识别失败重新识别短信周期
     */
    public static final int TYPE_REPARSE_BUBBLE_CYCLE = 14;

    /**
     * 类型-简单气泡识别失败重新识别短信周期
     */
    public static final int TYPE_REPARSE_SIMPLE_CYCLE = 15;

    /**
     * 类型-重新加载iccid归属地数据周期
     */
    public static final int TYPE_RELOAD_ICCID_LOCATE_CYCLE = 16;

    /**
     * 类型-资源下载失败后重新下载周期
     */
    public static final int TYPE_REDOWNLOAD_RESOURSE_CYCLE = 17;

    /**
     * 类型-资源下载的文件大小为0或接口返回404，设置最后下载时间延后值
     */
    public static final int TYPE_LAST_LOAD_TIME_ADD = 18;

    /**
     * 类型-企业LOGO下载失败后重新下载LOGO间隔
     */
    public static final int TYPE_REDOWNLOAD_LOGO_INTERVAL = 19;

    /**
     * 类型-企业LOGO资源下载检查队列运行周期
     */
    public static final int TYPE_RUN_RESOURSE_QUEUE_CYCLE = 20;

    /**
     * 类型-火车车次途经站信息有效周期
     */
    public static final int TYPE_TRAIN_DATA_VALID_CYCLE = 21;

    /**
     * 类型-已识别的丰富气泡重新识别周期
     */
    public static final int TYPE_REPARSE_CYCLE = 22;

    /**
     * 类型-不识别的丰富气泡重新识别周期
     */
    public static final int TYPE_PARSE_FAIL_REPARSE_CYCLE = 23;

    /**
     * 类型-限制企业资料接口查询周期
     */
    public static final int TYPE_QUERY_PUB_INFO_CYCLE = 24;

    /**
     * 类型-获取运营商指令,过期时间
     */
    public static final int TYPE_QUERY_OPERATOR_INFO_CYCLE = 27;

    /**
     * 类型-获取在线解析结果,过期时间
     */
    public static final int TYPE_QUERY_OPERATOR_MSG_INFO_CYCLE = 26;

    /**
     * 类型-联系人的有效周期人
     */
    public static final int TYPE_QUERY_CONTACTS_CYCLE = 25;

    /**
     * 类型-url检查周期
     */
    public static final int TYPE_URL_VAILD_CYCLE = 28;

    /**
     * 类型-企业id更新周期
     */
    public static final int TYPE_QUERY_PUB_ID_CYCLE = 29;

    /**
     * 类型-号码企业id批量更新周期
     */
    public static final int TYPE_QUERY_BATCH_PHONE_PUB_ID_UPDATE_CYCLE = 30;

    /**
     * 类型-号码空的企业id；批量更新周期
     */
    public static final int TYPE_QUERY_BATCH_PHONE_NULL_PUB_ID_UPDATE_CYCLE = 31;

    /**
     * 类型-matchiid需要删除的周期
     */
    public static final int TYPE_MATCHID_TIME_OUT_CYCLE = 32;

    /* SDK-442 huangzhiqiang 20160518 start */
    /**
     * 类型-重置识别失败的短信的最后识别时间的周期
     */
    public static final int TYPE_UPDATE_LAST_PARSE_TIME_CYCLE = 33;
    /* SDK-442 huangzhiqiang 20160518 end */

    /* SDK-397 huangzhiqiang 20160524 start */
    /**
     * 类型-签名查询周期（号码加签名识别查询流程）
     */
    public static final int TYPE_SIGN_QUERY_CYCLE = 34;

    /* SDK-397 huangzhiqiang 20160524 end */

    /* SDK-421 huangzhiqiang 20160525 start */
    /**
     * 类型-删除历史分片数据周期（分片流程）
     */
    public static final int TYPE_HISTORY_SHARD_DELETE_CYCLE = 35;
    /* SDK-421 huangzhiqiang 20160525 end */

    /* SDK-428 huangzhiqiang 20160530 start */

    /* SDK-459/yangzhi/2016.05.26---start--- */
    /* 类型-火车车次信息查询周期 */
    public static final int TYPE_TRAIN_DATA_QUERY_CYCLE = 36;

    /* 类型-火车车次数据有效周期 */
    public static final int TYPE_TRAIN_DATA_CYCLE = 37;
    /* SDK-459/yangzhi/2016.05.26---end--- */

    /**
     * 类型-陌生来电同一号码查询联网接口周期
     */
    public static final int TYPE_QUERY_CALLS_NUMBER_INFO_CYCLE = 38;

    /**
     * 类型-陌生来电号码数据有效周期
     */
    public static final int TYPE_CALLS_NUMBER_INFO_EFFECTIVE_CYCLE = 39;
    
    /* SDK-428 huangzhiqiang 20160530 end */

    /* SDK-500 huangzhiqiang 20160621 start */
    /**
     * 类型-删除无效的号码网络请求数据周期
     */
    public static final int TYPE_DELETE_INVALID_NET_QUERY_NUM_CYCLE = 40;
    /* SDK-500 huangzhiqiang 20160621 end */

    /* SDK-538 huangzhiqiang 20160714 start */
    public static final int TYPE_NET_ERROR_REQUERY_PUBINFO_CYCLE = 41;
    /* SDK-538 huangzhiqiang 20160714 end */

	/* IMOO-9 likuangkuang 20161014 start */
	public static final int TYPE_OTA_EMBED_NUMBER_CYCLE = 42;
	/* IMOO-9 likuangkuang 20161014 end */
	
	/*SDK-681 zhaojiangwei 20161124 start*/
	public static final int TYPE_PHONE_SERVICE_CYCLE = 43;
	public static final int TYPE_PHONE_SERVICE_CYCLE_NODATA = 44;
	/*SDK-681 zhaojiangwei 20161124 end*/
	/* RM-1374 mobaohua 20170314 start */
	/**
     * 类型-url预览检查周期
     */
    public static final int TYPE_URL_PREVIEW_CYCLE = 45;
    /* RM-1374 mobaohua 20170314 end */
    
    /**
     * 标签搜索更新周期
     */
    public static final int TAG_SEARCH_UPDATE_CYCLE = 46;

    /**
     * 域名白名单
     */
    public static final int TYPE_DOMAIN_WHITE_LIST_CYCLE = 47;
    /*SDK-392  hewengao 20160416 start*/
    /*菜单情景打点上报开关*/
    public static final int ON_OFF_MENU_SCENE_REPORT = 0;
    public static final int ON_OFF_SCENE_REPORT = 1;
    /*SDK-392  hewengao 20160416 start*/
    
    /*SDK-425 lilong 20160510 start*/
    /*H5空器头部配置类型*/
    public static final int CONFIG_WEB_TOP_MENU=2;
    /*SDK-425 lilong 20160510 end*/

    /* SDK-483/yangzhi/2016.06.14---start--- */
    public static final int CONFIG_WEIXIN_INFO = 3;
    /* SDK-483/yangzhi/2016.06.14---end--- */
    
    
    /*SCRIPT-517 zhaojiangwei 20160911 start*/
    public static final int CONFIG_URL_REFERER= 4;
    /*SCRIPT-517 zhaojiangwei 20160911 end*/
    
    /**
     * 根据类型获取更周期
     * 
     * @param type 类型
     * @param defaultValue 默认值，无法获取数据时返回该值
     * @return
     */
    public long getUpdateCycle(int type, long defaultValue);
}
